import {initMixin} from "./mixin";
import initAssetRegisters from "./componnet";
import initExtend from "./extend";


export function initGlobalAPI(Vue) {
  Vue.options = {
  }
  initMixin(Vue)

  // _base 就是Vue的构造函数
  Vue.options._base = Vue;
  Vue.options.components = {}
  initExtend(Vue)
  // 注册API方法
  initAssetRegisters(Vue);
}
